//
//  TestView.h
//  MVCTest
//
//  Created by Noah on 2017/5/19.
//  Copyright © 2017年 Noah. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol TestViewDelegate; // 声明协议

@interface TestView : UIView

@property (weak,nonatomic)id <TestViewDelegate> delegate;

-(void)showMessage:(NSDictionary*)dic;
@end

@protocol TestViewDelegate <NSObject>

@optional

-(void)editMessageWithTestView:(TestView*)testView;
-(void)saveMessageWithTestView:(TestView*)testView;

@end
